package com.xtianzhuang.www.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BaseDao {
	long countByExample(Object example);

	int deleteByExample(Object example);

	int deleteByPrimaryKey(Integer menuId);

	int insert(Object record);

	int insertSelective(Object record);

	List<Object> selectByExample(Object example);

	Object selectByPrimaryKey(Integer menuId);

	int updateByExampleSelective(@Param("record") Object record, @Param("example") Object example);

	int updateByExample(@Param("record") Object record, @Param("example") Object example);

	int updateByPrimaryKeySelective(Object record);

	int updateByPrimaryKey(Object record);
}
